
package com.amado.springcloud.feignhystrix;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author wangyl-910
 * @description
 * @date 2017/12/20
 * @see
 */
@SpringBootApplication(scanBasePackages = "com.amado.springcloud",exclude = DataSourceAutoConfiguration.class)
@EnableFeignClients(basePackages = "com.amado.springcloud.feignhystrix.client")
@EnableDiscoveryClient
@EnableCircuitBreaker
public class ServiceHystrixApplication {

	public static void main(String[] args) {
		SpringApplication.run(ServiceHystrixApplication.class,args);
	}
}
